package com.gzsxy.esjy.feign.Auth;


import com.gzsxy.esjy.common.base.exception.impl.CustomAssert;
import com.gzsxy.esjy.feign.Product.ProductClientHystrix;
import com.gzsxy.esjy.service.base.dto.response.DefaultResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2022/3/16 22:14
 */
@Component
public class AuthClientHystrix  implements AuthFeignService {

    private final static Logger log = LoggerFactory.getLogger(AuthClientHystrix.class);

    @Override
    public DefaultResponse selectRegisterNumByDay(String day) {
        log.error("【用户认证微服务异常】查看日期【{}】注册用户人数失败！！！",day);
        return DefaultResponse.error("【用户认证微服务异常】查看注册用户人数失败！！！");
    }
}
